<template>
  <div class="avatar_box">
    <img :src="src" alt="logo"/>
  </div>
</template>

<script>
export default {
  name: 'Logo',
  props: {
    url: {
      type: String,
      required: true
    }
  },
  data () {
    return {
      src: this.url
    }
  }
}
</script>

<style lang="less" scoped>
.avatar_box {
  height: 130px;
  width: 130px;
  border: 10px solid #ffedde;
  border-radius: 50%;
  box-shadow: 0 0 10px #bbbbbb;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -70%);

  img {
    width: 100%;
    height: 100%;
    border-radius: 50%;

  }
}
</style>
